import api from '@/service/api';

export interface Params {
  userName: string;
  password: string;
}

export default (para: Params) => {
  return api.post('/api/user/login', para);
}
